<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
    <meta charset="UTF-8">
    <title>登录</title>
</head>
<body>
<h1>登录界面</h1>
<p th:text="${msg}" style="color: crimson"/>
<form th:action="@{/login}">
    <p>用户名<input type="text" placeholder="userName" name="userName"></p>
    <hr>
    <p>密码<input type="text" placeholder="密码" name="password"></p>
    <input type="submit">
</form>
</body>
</html>